package controllers;

import java.awt.Component;
import java.util.ArrayList;

import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JTextField;

import controllers.uiControllers.MainViewController;
import controllers.uiControllers.PortalController;
import core.models.dataModels.CheckinOpvragenModel;
import views.BagageAfhandelingView;



public class BagageAfhandelController
{
	private static JFrame scherm;
	
	public static void showView(final Integer a, CheckinOpvragenModel m)
	{
		scherm = new BagageAfhandelingView(a, m);
		MainViewController.showView(scherm);
	}
	public static void handleView()
	{
		MainViewController.removeView(scherm);
		scherm.dispose();
		PortalController.showView();
	}	
	
}
